<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:75:"D:\wwwroot\cms\template/member_style/default/member/index/wapmodel/menu.htm";i:1609243498;}*/ ?>
<!--会员菜单-->

<?php if($menu['often']['sons']): ?>	<!--会员组个性菜单开始-->
	<?php if(is_array($menu['often']['sons']) || $menu['often']['sons'] instanceof \think\Collection || $menu['often']['sons'] instanceof \think\Paginator): $i = 0; $__LIST__ = $menu['often']['sons'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
		<div class="bui-panel panel-usercenter">
            <div class="bui-panel-head bui-box-align-middle">
                <i class="icon-member" style="color:#8CC9FD;"><span class="<?php echo (isset($vo['icon']) && ($vo['icon'] !== '')?$vo['icon']:'fa fa-sun-o'); ?>"></span></i>
                <div class="span1"><?php echo $vo['title']; ?></div>
                <div class="panel-head-right"><i class="icon-listright"></i></div>
            </div>
            <div class="bui-panel-main">
		<?php $_result=array_chunk($vo['sons'], 4);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs1): $mod = ($i % 2 );++$i;?>
                <ul class="bui-nav nav-list">

		<?php while(count($rs1)<4)$rs1[]='';	/*为的是生成占位符*/ if(is_array($rs1) || $rs1 instanceof \think\Collection || $rs1 instanceof \think\Paginator): $i = 0; $__LIST__ = $rs1;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs): $mod = ($i % 2 );++$i;?>
                    <li class="bui-btn bui-box-vertical" href="<?php echo $rs['url']; ?>" <?php if(!(empty($rs['bgcolor']) || (($rs['bgcolor'] instanceof \think\Collection || $rs['bgcolor'] instanceof \think\Paginator ) && $rs['bgcolor']->isEmpty()))): ?>style="background-color:<?php echo $rs['bgcolor']; ?>;"<?php endif; ?>>
				<?php if(is_array($rs)): ?>
                        <i <?php if(!(empty($rs['fontcolor']) || (($rs['fontcolor'] instanceof \think\Collection || $rs['fontcolor'] instanceof \think\Paginator ) && $rs['fontcolor']->isEmpty()))): ?>style="color:<?php echo $rs['fontcolor']; ?>;"<?php endif; ?> class="<?php echo (isset($rs['icon']) && ($rs['icon'] !== '')?$rs['icon']:'fa fa-gg'); ?>">
                            <span style="display:none;" class="bui-badges">0</span> 
                        </i>
                        <div class="span1" <?php if(!(empty($rs['fontcolor']) || (($rs['fontcolor'] instanceof \think\Collection || $rs['fontcolor'] instanceof \think\Paginator ) && $rs['fontcolor']->isEmpty()))): ?>style="color:<?php echo $rs['fontcolor']; ?>;"<?php endif; ?>>
                            <?php echo $rs['title']; ?>
                        </div>
				<?php endif; ?> <?php echo $rs['script']; ?>
                    </li>
			<?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
		<?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
        </div>
	<?php endforeach; endif; else: echo "" ;endif; else: ?><!--会员组个性菜单结束，默认菜单开始标签-->

<!--基础功能开始-->
        <div class="bui-panel panel-usercenter">
            <div class="bui-panel-head bui-box-align-middle">
                <i class="icon-service"><span style="color:<?php echo !empty($menu['base']['sons'][0]['fontcolor'])?$menu['base']['sons'][0]['fontcolor']:''; ?>" class="<?php echo !empty($menu['base']['sons'][0]['icon'])?$menu['base']['sons'][0]['icon']:'glyphicon glyphicon-star-empty'; ?>"></span></i>
                <div class="span1"><?php echo $menu['base']['sons'][0]['title']; ?></div>
                <div class="panel-head-right a" href="<?php echo get_url('user',$info['uid']); ?>">我的主页<i class="icon-listright"></i></div>
            </div>
            <div class="bui-panel-main">
<?php $_result=array_chunk($menu['base']['sons'][0]['sons'], 4);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs1): $mod = ($i % 2 );++$i;?>
				<ul class="bui-nav nav-list">

<?php while(count($rs1)<4)$rs1[]='';	/*为的是生成占位符*/ if(is_array($rs1) || $rs1 instanceof \think\Collection || $rs1 instanceof \think\Paginator): $i = 0; $__LIST__ = $rs1;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs): $mod = ($i % 2 );++$i;?>
                    <li class="bui-btn bui-box-vertical" href="<?php echo $rs['url']; ?>" <?php if(!(empty($rs['bgcolor']) || (($rs['bgcolor'] instanceof \think\Collection || $rs['bgcolor'] instanceof \think\Paginator ) && $rs['bgcolor']->isEmpty()))): ?>style="background-color:<?php echo $rs['bgcolor']; ?>;"<?php endif; ?>>
				<?php if(is_array($rs)): ?>
                        <i <?php if(!(empty($rs['fontcolor']) || (($rs['fontcolor'] instanceof \think\Collection || $rs['fontcolor'] instanceof \think\Paginator ) && $rs['fontcolor']->isEmpty()))): ?>style="color:<?php echo $rs['fontcolor']; ?>;"<?php endif; ?> class="<?php echo (isset($rs['icon']) && ($rs['icon'] !== '')?$rs['icon']:'fa fa-gg'); ?>">
                             <span style="display:none;" class="bui-badges">0</span> 
                        </i>
                        <div class="span1" <?php if(!(empty($rs['fontcolor']) || (($rs['fontcolor'] instanceof \think\Collection || $rs['fontcolor'] instanceof \think\Paginator ) && $rs['fontcolor']->isEmpty()))): ?>style="color:<?php echo $rs['fontcolor']; ?>;"<?php endif; ?>>
                            <?php echo $rs['title']; ?>
                        </div>
				<?php endif; ?> <?php echo $rs['script']; ?>
                    </li>
			<?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
<?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
        </div>
<!--基础功能结束-->

<!--独立菜单的频道开始-->
<?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs2): $mod = ($i % 2 );++$i;if(in_array($key,['plugin','base','module']))continue; ?>
		<div class="bui-panel panel-usercenter">
            <div class="bui-panel-head bui-box-align-middle">
                <i class="icon-member" style="color:<?php echo !empty($rs2['fontcolor'])?$rs2['fontcolor']:'#8CC9FD'; ?>;"><span class="<?php echo $rs2['icon']; ?>"></span></i>
                <div class="span1"><?php echo $rs2['title']; ?><?php echo $rs2['script']; ?></div>
                <div class="panel-head-right a" href="<?php echo iurl($key.'/index/index'); ?>">浏览前台<i class="icon-listright"></i></div>
            </div>
            <div class="bui-panel-main">
<?php $_result=array_chunk($rs2['sons'][0]['sons'], 4);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs1): $mod = ($i % 2 );++$i;?>
                <ul class="bui-nav nav-list">

<?php while(count($rs1)<4)$rs1[]='';	/*为的是生成占位符*/ if(is_array($rs1) || $rs1 instanceof \think\Collection || $rs1 instanceof \think\Paginator): $i = 0; $__LIST__ = $rs1;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs): $mod = ($i % 2 );++$i;?>
                    <li class="bui-btn bui-box-vertical" href="<?php echo $rs['url']; ?>" <?php if(!(empty($rs['bgcolor']) || (($rs['bgcolor'] instanceof \think\Collection || $rs['bgcolor'] instanceof \think\Paginator ) && $rs['bgcolor']->isEmpty()))): ?>style="background-color:<?php echo $rs['bgcolor']; ?>;"<?php endif; ?>>
				<?php if(is_array($rs)): ?>
                        <i <?php if(!(empty($rs['fontcolor']) || (($rs['fontcolor'] instanceof \think\Collection || $rs['fontcolor'] instanceof \think\Paginator ) && $rs['fontcolor']->isEmpty()))): ?>style="color:<?php echo $rs['fontcolor']; ?>;"<?php endif; ?> class="<?php echo (isset($rs['icon']) && ($rs['icon'] !== '')?$rs['icon']:'fa fa-gg'); ?>">
                            <!--<span class="bui-badges">10</span>-->
                        </i>
                        <div class="span1" <?php if(!(empty($rs['fontcolor']) || (($rs['fontcolor'] instanceof \think\Collection || $rs['fontcolor'] instanceof \think\Paginator ) && $rs['fontcolor']->isEmpty()))): ?>style="color:<?php echo $rs['fontcolor']; ?>;"<?php endif; ?>>
                            <?php echo $rs['title']; ?>
                        </div>
				<?php endif; ?> <?php echo $rs['script']; ?>
                    </li>
			<?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
<?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
        </div>
<?php endforeach; endif; else: echo "" ;endif; ?>
<!--独立菜单的频道结束-->

<style type="text/css">
.morelink{width:100%;text-align:left;}
</style>
<!--功能插件开始-->
		<div class="bui-panel panel-usercenter">
            <div class="bui-panel-head bui-box-align-middle">
                <i class="icon-member" style="color:#e8a4cb;"><span class="fa fa-gears"></span></i>
                <div class="span1">功能插件</div>
                <div class="panel-head-right"></div>
            </div>
            <div class="bui-panel-main">
<?php $_result=array_chunk($menu['plugin']['sons'], 4);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs1): $mod = ($i % 2 );++$i;?>
                <ul class="bui-nav nav-list">

<?php while(count($rs1)<4)$rs1[]='';	/*为的是生成占位符*/ if(is_array($rs1) || $rs1 instanceof \think\Collection || $rs1 instanceof \think\Paginator): $i = 0; $__LIST__ = $rs1;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs): $mod = ($i % 2 );++$i;?>
                    <li class="bui-btn bui-box-vertical show-more-menu">
				<?php if(is_array($rs)): ?>
                        <i class="<?php echo $rs['icon']; ?>" <?php if($rs['fontcolor']!=''): ?>style="color:<?php echo $rs['fontcolor']; ?>;"<?php endif; ?>>
                            <!--<span class="bui-badges">10</span>-->
                        </i>
                        <div class="span1" <?php if($rs['fontcolor']!=''): ?>style="color:<?php echo $rs['fontcolor']; ?>;"<?php endif; ?>>
                            <?php echo $rs['title']; ?>
                        </div><?php echo $rs['script']; endif; ?>
                    </li>
					<div class="list-sons">
					<?php if(is_array($rs['sons']) || $rs['sons'] instanceof \think\Collection || $rs['sons'] instanceof \think\Paginator): $i = 0; $__LIST__ = $rs['sons'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs1): $mod = ($i % 2 );++$i;?>
						<li><a href="<?php echo $rs1['url']; ?>" class="morelink <?php echo (isset($rs1['icon']) && ($rs1['icon'] !== '')?$rs1['icon']:'fa fa-chevron-right'); ?>" <?php if(!(empty($rs1['fontcolor']) || (($rs1['fontcolor'] instanceof \think\Collection || $rs1['fontcolor'] instanceof \think\Paginator ) && $rs1['fontcolor']->isEmpty()))): ?>style="color:<?php echo $rs1['fontcolor']; ?>;"<?php endif; ?>> <?php echo $rs1['title']; ?></a><?php echo $rs1['script']; ?></li>
					<?php endforeach; endif; else: echo "" ;endif; ?>
					</div>
			<?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
<?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
        </div>
<!--功能插件结束-->


<!--非独立菜单的频道开始-->
        <ul class="bui-list menu-list">
<?php if(is_array($menu['module']['sons']) || $menu['module']['sons'] instanceof \think\Collection || $menu['module']['sons'] instanceof \think\Paginator): $i = 0; $__LIST__ = $menu['module']['sons'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs): $mod = ($i % 2 );++$i;?>
            <li class="bui-btn bui-box show-more-menu">
                <i class="icon-service"><dd <?php if($rs['fontcolor']!=''): ?>style="color:<?php echo $rs['fontcolor']; ?>;"<?php endif; ?> class="<?php echo $rs['icon']; ?>"></dd></i>
                <div class="span1" ><?php echo $rs['title']; ?><?php echo $rs['script']; ?></div>
                <span class="tips"></span>
                <i class="icon-listright"></i>
            </li>
			<div class="list-sons">
			<?php if(is_array($rs['sons']) || $rs['sons'] instanceof \think\Collection || $rs['sons'] instanceof \think\Paginator): $i = 0; $__LIST__ = $rs['sons'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs1): $mod = ($i % 2 );++$i;?>
                <li><a href="<?php echo $rs1['url']; ?>" class="morelink <?php echo (isset($rs1['icon']) && ($rs1['icon'] !== '')?$rs1['icon']:'fa fa-chevron-right'); ?>" <?php if(!(empty($rs1['fontcolor']) || (($rs1['fontcolor'] instanceof \think\Collection || $rs1['fontcolor'] instanceof \think\Paginator ) && $rs1['fontcolor']->isEmpty()))): ?>style="color:<?php echo $rs1['fontcolor']; ?>;"<?php endif; ?>> <?php echo $rs1['title']; ?></a><?php echo $rs1['script']; ?></li>
			<?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
<?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
<!--非独立菜单的频道结束-->

<?php endif; ?><!--默认菜单结束标签-->